<h1>Fornecedors List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Nome</th>
      <th>Logomarca</th>
      <th>Tempo entrega</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($fornecedors as $fornecedor): ?>
    <tr>
      <td><a href="<?php echo url_for('fornecedor/show?id='.$fornecedor->getId()) ?>"><?php echo $fornecedor->getId() ?></a></td>
      <td><?php echo $fornecedor->getNome() ?></td>
      <td><?php echo $fornecedor->getLogomarca() ?></td>
      <td><?php echo $fornecedor->getTempoEntregaId() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('fornecedor/new') ?>">New</a>
